\hypertarget{struct_gumbo_string_piece}{}\section{Gumbo\+String\+Piece Struct Reference}
\label{struct_gumbo_string_piece}\index{Gumbo\+String\+Piece@{Gumbo\+String\+Piece}}


{\ttfamily \#include $<$gumbo.\+h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \mbox{\hyperlink{struct_gumbo_string_piece_a6aaa0aeddd6d0a05b60052198313a62d}{data}}
\item 
size\+\_\+t \mbox{\hyperlink{struct_gumbo_string_piece_a88116bfa980b950bd5615731f61ed09e}{length}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A struct representing a string or part of a string. Strings within the parser are represented by a char$\ast$ and a length; the char$\ast$ points into an existing data buffer owned by some other code (often the original input). Gumbo\+String\+Pieces are assumed (by convention) to be immutable, because they may share data. Use \mbox{\hyperlink{struct_gumbo_string_buffer}{Gumbo\+String\+Buffer}} if you need to construct a string. Clients should assume that it is not N\+U\+L-\/terminated, and should always use explicit lengths when manipulating them. 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{struct_gumbo_string_piece_a6aaa0aeddd6d0a05b60052198313a62d}\label{struct_gumbo_string_piece_a6aaa0aeddd6d0a05b60052198313a62d}} 
\index{Gumbo\+String\+Piece@{Gumbo\+String\+Piece}!data@{data}}
\index{data@{data}!Gumbo\+String\+Piece@{Gumbo\+String\+Piece}}
\subsubsection{\texorpdfstring{data}{data}}
{\footnotesize\ttfamily const char$\ast$ Gumbo\+String\+Piece\+::data}

A pointer to the beginning of the string. N\+U\+LL iff length == 0. \mbox{\Hypertarget{struct_gumbo_string_piece_a88116bfa980b950bd5615731f61ed09e}\label{struct_gumbo_string_piece_a88116bfa980b950bd5615731f61ed09e}} 
\index{Gumbo\+String\+Piece@{Gumbo\+String\+Piece}!length@{length}}
\index{length@{length}!Gumbo\+String\+Piece@{Gumbo\+String\+Piece}}
\subsubsection{\texorpdfstring{length}{length}}
{\footnotesize\ttfamily size\+\_\+t Gumbo\+String\+Piece\+::length}

The length of the string fragment, in bytes. May be zero. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/network/gumbo/parser/src/\mbox{\hyperlink{gumbo_8h}{gumbo.\+h}}\end{DoxyCompactItemize}
